<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>     
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>运输队展示已分配车辆的订单</title>
<style type="text/css">
	div,table{
		width: 80%;
	}
	table{
		border-collapse: collapse;
		border: 1px solid #ccc;
		text-align: center;
	}
	.table td{
		border: 1px solid #ccc;
	}
	.first{
		margin-top: 2%;
	}
</style>
</head>
<body>
<center>
	<div class="first">
		<table>
			<tr>
				<th><a href="${pageContext.request.contextPath }/company/queryTruckAndTruckStatus.do">查看所有车辆</a></th>
				<th><a href="${pageContext.request.contextPath }/company/toTrucklist.do?userId=${userId}">查看干线运输订单</a></th>
				<th><a href="${pageContext.request.contextPath }/company/lastOrderlist.do">查看市内运输订单</a></th>
			</tr>
		</table>
		<table class="table">
			<tr>
				<td>序号</td>
				<td>总提单号</td>
				<td>分单号</td>
				<td>白卡号</td>
			</tr>
			<c:forEach var="ml" items="${maplist }" varStatus="vs">
			<tr>
				<td>${vs.count }</td>
				<td>${ml.totalOrderNu }</td>
				<td>${ml.pointOrderNu }</td>
				<td>${ml.cardNu }</td>
			</tr>
			</c:forEach>
		</table>
	</div>
</center>
</body>
</html>